package com.dinzeer.cialloblade.sound;

import net.minecraft.resources.ResourceLocation;
import net.minecraft.sounds.SoundEvent;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;

import static com.dinzeer.cialloblade.Cialloblade.MODID;

public class SoundRegsitry {








    public static final DeferredRegister<SoundEvent> REGISTRY = DeferredRegister.create(ForgeRegistries.SOUND_EVENTS, MODID);
    public static final RegistryObject<SoundEvent> DOCIALLO
            = REGISTRY.register("dociallo", () -> SoundEvent.createVariableRangeEvent(new ResourceLocation(MODID, "dociallo")));

    public static final RegistryObject<SoundEvent> DOSLASH
            = REGISTRY.register("doslash", () -> SoundEvent.createVariableRangeEvent(new ResourceLocation(MODID, "doslash")));
    public static final RegistryObject<SoundEvent> DOCIALLO2
            = REGISTRY.register("dociallo2", () -> SoundEvent.createVariableRangeEvent(new ResourceLocation(MODID, "dociallo2")));
    public static final RegistryObject<SoundEvent> SENPAI
            = REGISTRY.register("senpai", () -> SoundEvent.createVariableRangeEvent(new ResourceLocation(MODID, "senpai")));




    // 用于初始化声音注册的方法
    public static void registerSounds(IEventBus eventBus) {
        REGISTRY.register(eventBus);
    }
}
